﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public class Tbl_sanpham_Entities
    {
        private int sTT;
        public int STT
        {
            get { return sTT; }
            set { sTT = value; }
        }

        private string maSP;
        public string MaSP
        {
            get { return maSP; }
            set { maSP = value; }
        }

        private string tenSP;
        public string TenSP
        {
            get { return tenSP; }
            set { tenSP = value; }
        }

        private float giaGoc;
        public float GiaGoc
        {
            get { return giaGoc; }
            set { giaGoc = value; }
        }

        private float giaBan;
        public float GiaBan
        {
            get { return giaBan; }
            set { giaBan = value; }
        }

        private float tyLeGiamGia;
        public float TyLeGiamGia
        {
            get { return tyLeGiamGia; }
            set { tyLeGiamGia = value; }
        }

        private string ngayDangSP;
        public string NgayDangSP
        {
            get { return ngayDangSP; }
            set { ngayDangSP = value; }
        }

        private string thoiGianSuDung;
        public string ThoiGianSuDung
        {
            get { return thoiGianSuDung; }
            set { thoiGianSuDung = value; }
        }

        private string thongTinSanPham;
        public string ThongTinSanPham
        {
            get { return thongTinSanPham; }
            set { thongTinSanPham = value; }
        }

        private string dieuKienSuDung;
        public string DieuKienSuDung
        {
            get { return dieuKienSuDung; }
            set { dieuKienSuDung= value; }
        }

        private int soLuongBan;
        public int SoLuongBan
        {
            get { return soLuongBan; }
            set { soLuongBan = value; }
        }

        private int sTT_doanhnghiep;
        public int STT_doanhnghiep
        {
            get { return sTT_doanhnghiep; }
            set { sTT_doanhnghiep = value; }
        }

        private string tinhTrang;
        public string TinhTrang
        {
            get { return tinhTrang; }
            set { tinhTrang = value; }
        }

        private int loaiSP;
        public int LoaiSP
        {
            get { return loaiSP; }
            set { loaiSP = value; }
        }
    }
    public enum Tbl_sanpham_Columns
    {
        STT,
        MaSP,
        TenSP,
        GiaGoc,
        GiaBan,
        TyLeGiamGia,
        NgayDangSP,
        ThoiGianSuDung,
        ThongTinSanPham,
        DieuKienSuDung,
        SoLuongBan,
        STT_doanhnghiep,
        TinhTrang,
        LoaiSP
    }

    public class Tbl_sanpham_Collection : List<Tbl_sanpham_Entities>
    {
    }
}
